package com.biyu.monitormanage.dao;

import com.biyu.monitormanage.entity.RealTimeDataEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * 温湿度日志表
 * 
 * @author biyubing
 * @email byb15491665510220@163.com
 * @date 2022-03-12 11:39:22
 */
@Mapper
public interface RealTimeDataDao extends BaseMapper<RealTimeDataEntity> {
    /**
     * 多参数根据id查询实时数据
     * @param params 多参数
     * @return 实体
     */
    RealTimeDataEntity selectRealData(Map<String, Object> params);

    /**
     * 多参数查询实时数据
     * @param params 多参数
     * @return 实体
     */
    RealTimeDataEntity selectNew(Map<String, Object> params);
}
